Add GdkRGBA struct to supersede GdkColor
authorCarlos Garnacho <carlosg@gnome.org>
Thu, 21 Oct 2010 13:23:48 +0000 (15:23 +0200)
committerCarlos Garnacho <carlosg@gnome.org>
Fri, 22 Oct 2010 18:14:56 +0000 (20:14 +0200)
commit5a5f8081f07468b0b99fdf1496dd0b5f27ee88a6
treee4d1021e95a3e331720c00e663d10598301a204e
parentc7500031680a9b924d66fe69a537bd990de775c3
Add GdkRGBA struct to supersede GdkColor

GdkRGBA is a boxed struct similar to GdkColor, with the difference
that it stores alpha information as well, and colors are stored in
[0..1] doubles, in the cairo spirit.

gdk_cairo_set_source_rgba() has been also added to allow easier handling
of this new type.
docs/reference/gdk/gdk-docs.sgml
docs/reference/gdk/gdk3-sections.txt
gdk/Makefile.am
gdk/gdkcairo.c
gdk/gdkcairo.h
gdk/gdkrgba.c [new file with mode: 0644]
gdk/gdkrgba.h [new file with mode: 0644]
gdk/gdktypes.h